package com.wfs.myapp.remote.wx.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
public class SendMessageDto<T> {
    private String template_id;
    private String touser;
    private T data;
    private String miniprogram_state;
    private String lang;

    @Data
    @ToString
    public static class BkReturnMsgTemplateDto {
        private ValueDto thing3;
        private ValueDto date1;
        private ValueDto short_thing5;
        private ValueDto thing4;
    }

    @Data
    @ToString
    public static class BkBirthdayRemindMsgTemplateDto {
        private ValueDto thing2;
        private ValueDto time1;
        private ValueDto thing3;
    }

    @Data
    @ToString
    public static class BkWeChatPushMsgTemplateDto {
        private ValueDto thing5;
        private ValueDto thing3;
        private ValueDto name1;
        private ValueDto date2;
    }

    @Data
    @ToString
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ValueDto {
        private String value;
    }
}
